package com.atpy.rabbit.service;

import com.atpy.rabbit.mapper.BannerImgMapper;
import com.atpy.rabbit.pojo.BannerImg;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BannerImgService {
    @Autowired
    BannerImgMapper bannerImgMapper;

    public List<BannerImg> getAllBanners() {
        return bannerImgMapper.getallBannerImg();

    }
}
